The Specification of System Components by State Transition Diagrams
نویسنده
چکیده
This technical memo provides a syntactic and semantic basis for state transition diagrams (STDs) as they are used for the description of state transition machines (STMs) with input and output. STMs serve for the specification of system components. We work with STDs with transition rules labelled by input and output patterns and preand postconditions. We extend our notation to support specifications that deal with the timing of input and output as well. In particular, we work out the following concepts • the semantic model of STMs with input and output, • the semantic model of STDs in terms of predicate logic, • the description of STMs by STDs, • the definition of stream processing functions by STMs, • a syntax for STDs and their labels. In contrast to approaches like statecharts (see [Harel 87]) we rather start from a semantic notion of a STM and then develop a tuned graphical description technique for it. We show also some methodological aspects such as the use of a partitioning of nodes in STDs as a refinement step that leads to STDs with independent transactions for input and output. We briefly discuss hierarchical STDs, time-outs, interrupts, and pre-emption. *) This work was partially sponsored by the Sonderforschungsbereich 342 "Werkzeuge und Methoden für die Nutzung paralleler Rechnerarchitekturen" and the industrial research project SysLab sponsored by Siemens Nixdorf and by the DFG under the Leibniz program. Focus FX 2 Mai 30, 1997
منابع مشابه
Raising the source code abstraction level by using generic components for state machines
Various software architectures use state transition mechanisms as a major building block. As an example, finite state machines (FSMs) and their graphical counterpartstate transition diagramsare heavily used e.g. for the specification of various kinds of protocols such as network protocols (TCP/IP) or protocols for infrared data transmission (IrDA). Many embedded systems, e.g. telephone switch...
متن کاملSimulation of Rainfall - Runoff Events by Applying Phase Differences Diagrams and Correcting Effective Rainfall Components
The conversion of rainfall to runoff in basins includes nonlinear relations between the complex interactions of various hydrological processes. In this study, without considering of predetermined structure, relationship between input and output system was derived individually from the nature of the data recorded. Also, the phase difference occurred between rainfall and runoff signals using c...
متن کاملTLA in Pictures
Predicate-action diagrams, which are similar to standard state-transition diagrams, are precisely defined as formulas of TLA (the Temporal Logic of Actions). We explain how these diagrams can be used to describe aspects of a specification—and those descriptions then proved correct— even when the complete specification cannot be written as a diagram. We also use the diagrams to illustrate proofs...
متن کاملHybrid multi-agent systems: modeling, specification and verification
Specifying behaviors of multi-agent systems (MASs) is a demanding task, especially when applied in safety-critical systems. In the latter systems, the specification of behaviors has to be carried out carefully in order to avoid side effects that might cause unwanted or even disastrous behaviors. Thus, formal methods based on mathematical models of the system under design are helpful. They not o...
متن کاملAlgebraic Specification of Reactive Systems
We present an algebraic method for the specification of reactive distributed systems. We introduce basic operators on specifications making the set of specifications into a specification algebra. This allows us to work with an algebra of system specifications in analogy to the process algebras that provide algebras of reactive programs. However, in contrast to process algebras we work with a co...
متن کامل